package com.chuangke.metadata.entity;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.chuangke.framework.model.BasicModel;

/**
 * @date : 2024-1-3
 */
public class SysSchemaTable extends BasicModel {

    /** 表名 */
    private String name ;
    /** 别名 */
    private String alias ;
    /** 所属模块 */
    private String moudleId ;
    /** 类型 */
    private String type ;

    @TableField(exist = false)
    List<SysSchemaColumn> columns ;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getMoudleId() {
        return moudleId;
    }

    public void setMoudleId(String moudleId) {
        this.moudleId = moudleId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<SysSchemaColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<SysSchemaColumn> columns) {
        this.columns = columns;
    }
}